projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ae257d
)
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
author
Steve Frécinaux
<code@istique.net>
Mon, 7 Jun 2010 21:45:43 +0000
(23:45 +0200)
committer
Steve Frécinaux
<code@istique.net>
Mon, 7 Jun 2010 22:00:28 +0000
(
00:00
+0200)
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
gtk/gtktextbuffer.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextbuffer.c
b/gtk/gtktextbuffer.c
index dca5686e466f7897e277e04a8c3cabcb2028b260..44cb322e0aa5dca61383dea9a98b316911ce2c31 100644
(file)
--- a/
gtk/gtktextbuffer.c
+++ b/
gtk/gtktextbuffer.c
@@
-2083,7
+2083,7
@@
gtk_text_buffer_set_mark (GtkTextBuffer *buffer,
* Emits the "mark-set" signal as notification of the mark's initial
* placement.
*
- * Return value: the new #GtkTextMark object
+ * Return value:
(transfer none):
the new #GtkTextMark object
**/
GtkTextMark*
gtk_text_buffer_create_mark (GtkTextBuffer *buffer,